package com.beibei.framework.dao.impl;

import org.springframework.jdbc.core.support.JdbcDaoSupport;

import com.beibei.framework.dao.IBaseDao;
import com.beibei.framework.logger.ILogger;
import com.beibei.framework.logger.LoggerFactory;

/**
 * DAO基类
 * 
 * @author 309814490@qq.com
 * @since 2014-02-12
 */
public class BaseDaoImpl extends JdbcDaoSupport implements IBaseDao {

	protected ILogger getDaoLogger() {
		return LoggerFactory.getJdbcLog();
	}

	protected ILogger getCommonLogger() {
		return LoggerFactory.getCommonLog(this.getClass());
	}

}
